package cn.campus.dao;


import java.util.List;

import cn.campus.pojo.ForumAndUser;
import cn.campus.pojo.Forum_replyAndUser;
import cn.campus.pojo.User;

public interface UserMapper {
	User  login(User user);//登录

	User  selectUserByUser_id(String user_id);

	List<User> selectAllUsersByForum(ForumAndUser forumAndUser);//根据帖子的user_id找到作者

	List<User> selectAllUsersByReplyID(Forum_replyAndUser forum_replyAndUser);//根据帖子的reply_id找到评论者

	List<User> selectAllUsersByBeReplyID(Forum_replyAndUser forum_replyAndUser);//根据帖子的be_reply_id找到评论者

}
